package ca.ulaval.ift.gloo.SimSolution.presentation;

import java.awt.Graphics;
import java.awt.Point;

public class Reseau {
	
	int nodeHeight;
	int nodeWidth;
	
	
	public Reseau(){
		nodeHeight = 10;
		nodeWidth = 10;
	}
	
	public void drawNode(Point pt, Graphics g){
		g.fillOval(pt.x-(getNodeHeight()/2), pt.y-(getNodeWidth()/2), 
				   getNodeHeight(), getNodeHeight());
	}

	public int getNodeHeight() {
		return nodeHeight;
	}

	public void setNodeHeight(int nodeHeight) {
		this.nodeHeight = nodeHeight;
	}

	public int getNodeWidth() {
		return nodeWidth;
	}

	public void setNodeWidth(int nodeWidth) {
		this.nodeWidth = nodeWidth;
	}
}
